<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
<link rel="shortcut icon" href="https://tcsc.oss-cn-hangzhou.aliyuncs.com/static/wechat/img/logo.png"/>
	<title>{{.title}}</title>
	<script src="https://tcsc.oss-cn-hangzhou.aliyuncs.com/static/wechat/frame/mui/js/mui.min.js"></script>
    <link href="https://tcsc.oss-cn-hangzhou.aliyuncs.com/static/wechat/frame/mui/css/mui.min.css" rel="stylesheet" />
	<link href="https://tcsc.oss-cn-hangzhou.aliyuncs.com/static/wechat/font/iconfont.css" rel="stylesheet" />
	<link href="https://tcsc.oss-cn-hangzhou.aliyuncs.com/static/wechat/css/other/all.css" rel="stylesheet" />
	<link href="https://tcsc.oss-cn-hangzhou.aliyuncs.com/static/wechat/css/other/app.css" rel="stylesheet" />
</head>
<style type="text/css">
	body{
		background: #fff;
	}
	#btn{float: right;}
</style>
<body>
	<div class="global_search">
		<form action="/mobile/column/search_result">
			<div class="sosu">
				<i class="iconfont">&#xe736;</i>
				<input class="sousuo" id="sousuo" type="text" name="keywords" placeholder="输入关键词" required="">
				<input class="but" id="btn" type="submit" name="" value="搜索">
			</div>
		</form>
		<div class="twolevel">
			<ul id="productlist">
			</ul>
		</div>
		<div class="hot_search">
			<h1>热门搜索</h1>
			<div>
				{{range .keywords}}
				<a href="/mobile/column/search_result?keywords={{.title}}"><span>{{.title}}</span></a>
				{{end}}
			</div>
		</div>
	</div>
</body>
{{template "wechat/public/share.html" .}}
<script src="https://tcsc.oss-cn-hangzhou.aliyuncs.com/static/wechat/js/zepto.min.js"></script>
<script type="text/javascript">
	$('input[name="keywords"]').change(function(){
		$('form').submit()
	})
</script>
</html>

